package com.edu.object1;

public class Movie {
    //封装案例，对应test04
    private String name;//电影名
    private double price;//电影价格
    private String avater;//电影作者

    public Movie() {
    }

    public Movie(String name, double price, String avater) {
        this.name = name;
        this.price = price;
        this.avater = avater;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getAvater() {
        return avater;
    }

    public void setAvater(String avater) {
        this.avater = avater;
    }
}
